<?php

namespace addons\human\controller;

use think\addons\Controller;
use addons\human\library\Speech;
use addons\human\model\Job;

class Index extends Controller
{

    public function index()
    {
        if($this->request->isPost()){
            
            
        }
        $persons=['lisa-casual-sitting','lisa-graceful-sitting','lisa-graceful-standing','jeff-business','jeff-formal','lori-casual','lori-graceful','lori-formal','meg-business','meg-formal','meg-casual','harry-business','harry-casual','harry-youthful'];
        $this->assign('persons',$persons);
        return $this->view->fetch();
        
    }
    public function test(){
        $speech=new Speech;
         // $res=$speech->submitSynthesis();
        $res=$speech->listSynthesisJobs();
        dump($res);
    }
    

}
